class MoviePlay extends WallMode {
  import processing.video.*;
  Movie myMovie;

  //constructor  
  MoviePlay(PApplet parent) { 
    myMovie = new Movie(parent, "3.mov");
    myMovie.loop();
  }
  void keyPressed() {
  }
  void setup() {
  } 
  void modeSelected() {
  }
  int getDisplayTime() {
    return 30;
  }
  void draw() {
    myMovie.read();
    image(myMovie, 0, 0);
  }
  int getNewModeIdentifier() { 
    return -1;
  }
}

